package io.xuan.modules.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.xuan.modules.app.entity.OrderEntity;

import java.util.List;

public interface OrderService extends IService<OrderEntity> {

    void simulateOrderEvents();


    List<OrderEntity> queryByUserId(Long userId);

    boolean saveOrder(int uid, int driveId, Double peopleLat, Double peopleLng);

    List<OrderEntity> queryByDriveId(Long userId);

    List<OrderEntity> allOrder();

    boolean updateOrder(Integer hasEvaluate, String orderId);
}
